package edu.sctu.practice.class02.lvchang.textExtens;

/**
 * Created by Administrator on 2015/9/18.
 */
public class BaseTextExtends {

    protected int number = 140610;
    protected String name = "Justin";
    private int age = 20;
    public String sex = "male";


    protected void setName() {
        System.out.println("姓名:" + name);
    }

    protected void setSex() {
        System.out.println("性别:" + sex);
    }

    protected void setNumber() {
        System.out.println("学号:" + number);
    }

    protected void setAge() {
        System.out.println("年龄:" + age);
    }
}
